// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;
    .el-tag {
      margin-right: 0px;
    }
  }
}

// to fixed https://github.com/ElemeFE/element/issues/2461
// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block;
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.el-menu--collapse
  > div
  > .el-submenu
  > .el-submenu__title
  .el-submenu__icon-arrow {
  display: none;
}

.dateClass .el-icon-d-arrow-left {
  display: none;
}
.dateClass .el-icon-d-arrow-right {
  display: none;
}
.dateClass .el-icon-arrow-left {
  position: absolute;
  right: 11%;
}
.dateClass .el-icon-arrow-left:before {
  content: "\e6e6";
  font-size: 19px;
}
.dateClass .el-icon-arrow-right:before {
  content: "\e6eb";
  font-size: 19px;
}
.dateClass .el-picker-panel__sidebar {
  width: 100%;
  right: 0;
  left: inherit;
  top: inherit;
  height: 40px;
  display: flex;
  border-top: 1px solid #e4e4e4;
  justify-content: space-between;
}
.dateClass .el-picker-panel__sidebar + .el-picker-panel__body {
  margin-bottom: 40px;
  margin-left: 0;
}
.dateClass .el-picker-panel__shortcut {
  width: auto;
  color: #004fee;
}
.dateClass .el-date-picker__header {
  text-align: left;
}
.dateClass.el-date-picker.has-sidebar {
  width: 340px;
}
.dateClass.el-date-picker .el-picker-panel__content {
  width: auto;
}
.el-badge__content {
  border: none !important;
  font-size: 12px !important;
  padding-top: 1px !important;
}

//  ===================== 新 ====================
/* 输入框 */
.el-input__inner:focus {
  border-color: #2348e8 !important;
}
.el-input--small {
  height: 28px !important;
}
.el-input--small .el-input__inner {
  height: 28px !important;
  line-height: 28px !important;
}
.el-input--small .el-input__icon {
  line-height: 28px !important;
}
.el-form-item__error {
  color: #ff0000 !important;
}
/* 表单 */
.el-form-item .el-form-item__label {
  font-size: 12px !important;
  line-height: 28px !important;
  padding-right: 0 !important;
}
.el-form-item .el-form-item__content {
  font-size: 12px !important;
  line-height: 28px !important;
}
.el-input--small {
  font-size: 12px !important;
}
.el-form-item {
  margin-bottom: 0 !important;
}
.el-form--inline .el-form-item {
  margin: 0;
}
// 链接hover
.el-link.el-link--default:hover {
  color: #2348e8 !important;
}

/* 按钮 */
.resletBtn:hover {
  color: #2348e8 !important;
  border-color: #2348e8 !important;
  background-color: transparent !important;
}
.resletBtn:focus {
  color: #2348e8 !important;
  border-color: #2348e8 !important;
  background-color: transparent !important;
}
.el-button--text {
  color: #2348e8 !important;
}
.el-button--small {
  font-size: 12px !important;
  padding: 0 15px !important;
  box-sizing: border-box;
  height: 28px !important;
  line-height: 28px !important;
}
.el-button--small,
.el-button--small.is-round {
  height: 28px !important;
  padding: 0px 13px !important;
}
.el-button--primary {
  background-color: #2348e8 !important;
  border-color: #2348e8 !important;
}
.el-button--primary.is-plain:focus,
.el-button--primary.is-plain:hover {
  background: #2348e8 !important;
  border-color: #2348e8 !important;
  color: #fff !important;
  opacity: 1 !important;
}
.el-button--primary.is-plain {
  color: #2348e8 !important;
  background: #ecf5ff !important;
  border-color: #2348e8 !important;
}
.el-button--primary:focus,
.el-button--primary:hover {
  opacity: 0.8 !important;
}
.el-button--info {
  background-color: #8499ae !important;
  border-color: #8499ae !important;
}
.el-button--info:focus,
.el-button--info:hover {
  background: #8499ae !important;
  border-color: #8499ae !important;
  color: #fff !important;
  opacity: 0.8 !important;
}

.el-upload-list__item.is-success .el-upload-list__item-name:hover,
.el-upload-list__item.is-success .el-upload-list__item-name:focus {
  color: #2348e8 !important;
  cursor: pointer;
}

.el-link.el-link--primary {
  color: #2348e8 !important;
}
// 按钮禁止点击样式
.el-button--primary.is-disabled,
.el-button--primary.is-disabled:hover,
.el-button--primary.is-disabled:focus,
.el-button--primary.is-disabled:active {
  background-color: #fff !important;
  font-weight: 400;
  color: #1a2035;
  border-radius: 2px;
  border: 1px solid #cccccc !important;
}

/* 分页 */
.el-pagination.is-background .el-pager li:not(.disabled).active {
  background: #2348e8 !important;
}

/* 表格 */
.el-table::before {
  display: none;
}
.el-table__row {
  font-size: 12px !important;
  color: #1a2035 !important;
}
.el-table .el-table__header-wrapper th,
.el-table .el-table__fixed-header-wrapper th {
  font-size: 12px !important;
  color: #1a2035 !important;
}
.el-table th,
.el-table td {
  padding: 0 !important;
  height: 32px !important;
  line-height: 32px !important;
}
.el-table--border{
  border-bottom: 1px solid #ddd !important;
}
/* 复选框 */
.el-checkbox__input.is-checked .el-checkbox__inner {
  background-color: #2348e8 !important;
  border-color: #2348e8 !important;
}
.el-checkbox__input.is-indeterminate .el-checkbox__inner {
  background-color: #2348e8 !important;
  border-color: #2348e8 !important;
}
.el-checkbox__inner:hover {
  border-color: #2348e8 !important;
}
/* 弹窗 */
.el-dialog {
  margin-top: 25vh !important;
}
.el-dialog__title {
  font-size: 16px;
}
.el-dialog__header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 96%;
  height: 1px;
  background-color: #dddddd;
}
.el-dialog__header {
  padding: 24px 24px 15px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  color: #3333 !important;
  font-weight: 600;
  font-size: 14px;
  position: relative;
  // border-bottom: 1px solid #DDDDDD;
  .el-dialog__headerbtn {
    line-height: 24px;
  }
}
.el-dialog__body {
  .el-form-item--small.el-form-item {
    margin-bottom: 20px !important;
    // &:last-child {
    //   margin-bottom: 0 !important;
    // }
  }
  .el-form-item .el-form-item__label {
    font-size: 14px !important;
    color: #1a2035;
    font-weight: 400 !important;
  }
  .el-form-item > .el-form-item__label:before {
    content: "";
    margin-right: 6px;
  }
}
// 单选框
.el-radio-button__orig-radio:checked + .el-radio-button__inner{
  background: #2348E8;
  border-color: #2348E8;
  box-shadow: -1px 0 0 0 #2348E8;
}
.el-radio-button__inner:hover{
  color: #2348E8;
}
/* 复选框选中颜色 */
.el-checkbox__input.is-checked + .el-checkbox__label {
  color: #2348e8 !important;
}
.el-checkbox__label {
  color: #1a2035 !important;
}
// 单选框
::v-deep .el-radio{
  font-size: 12px !important;
  font-weight: 400 !important;
 
}
/**抽屉*/
.el-drawer__header {
  padding: 0;
  color: #1a2035;
  font-weight: 600;
  // padding: 15px 38px 15px 32px;
  padding:15px 0;
  border-bottom: 1px solid #ddd;
  margin-bottom: 15px !important;
  margin: 0 32px;
}
.el-drawer__body {
  padding: 0 32px 24px 30px;
  // border-top: 1px solid #ddd;
  .el-form-item--small.el-form-item {
    margin-bottom: 15px !important;
    .el-form-item__label {
      font-weight: 400;
    }
    &:last-child {
      margin-bottom: 0 !important;
    }
  }
}
/* 下拉 */
.el-select .el-input.is-focus .el-input__inner {
  border-color: #2348e8 !important;
}
.el-input.is-focus .el-input__inner {
  border-color: #2348e8 !important;
}
.el-select-dropdown.is-multiple .el-select-dropdown__item.selected {
  color: #2348e8 !important;
}
.el-select-dropdown__item.selected {
  font-weight: normal !important;
}
.el-select-dropdown__item.selected {
  color: #2348e8 !important;
}
.el-select-dropdown__item{
  font-size: 12px !important;
}
/* 单选 */
.el-radio__label {
  color: #1a2035 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
}
.el-radio__input.is-checked .el-radio__inner {
  border-color: #2348e8 !important;
  background: #2348E8 !important;
}
.el-radio__inner:hover {
  border-color: #2348e8 !important;
}

/* 上传文件提示 */
.tip-msg {
  color: #ccc;
  margin-top: 10px;
}

/* 文本域 */
.el-textarea__inner:focus {
  border-color: #2348e8 !important;
}

// 下拉框无数据
.el-select-dropdown__empty{
  font-size: 12px !important;
}
// el-poper
.el-popover__reference-wrapper .el-button--text{
 color: #1a2035 !important;
}
.el-select-dropdown__item.selected .el-button--text{
  color: #2348E8 !important;
 }

// 修改账号
.setInputClass{
   .el-input--small{
    min-height: 28px !important;
    height:auto !important;
  }
  .el-input--small .el-input__inner{
    min-height: 28px !important;
  }
}
